﻿using Org.BouncyCastle.Crypto.Tls;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    public class LCZXRZXQGLConfig
    {
        [SugarColumn(IsPrimaryKey = true, ColumnDescription = "主键")]
        public Guid Id { get; set; }

        /// <summary>
        /// 证书类型
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar(200)", IsNullable = true, ColumnDescription = "证书类型")]
        public string CertificateType { get; set; }

        /// <summary>
        /// 证书名称
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar(200)", IsNullable = true, ColumnDescription = "证书名称")]
        public string NipponCertification { get; set; }

        /// <summary>
        /// 资质名称
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar(200)", IsNullable = true, ColumnDescription = "资质名称")]
        public string NationalOrIndustryCertification { get; set; }


        /// <summary>
        /// 发证单位
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar(200)", IsNullable = true, ColumnDescription = "发证单位")]
        public string IssuingUnit { get; set; }


        /// <summary>
        /// 证书效果
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar(500)", IsNullable = true, ColumnDescription = "证书效果")]
        public string Effect { get; set; }

        /// <summary>
        /// 工种
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar(100)", IsNullable = true, ColumnDescription = "工种")]
        public string TypeOfWork { get; set; }

        /// <summary>
        /// 能力标签
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar(100)", IsNullable = true, ColumnDescription = "能力标签")]
        public string CapabilityLabel { get; set; }

        /// <summary>
        /// 事业群
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true, ColumnDescription = "事业群")]
        public string Dept { get; set; }

        /// <summary>
        /// 是否在表单里面使用
        /// </summary>
        [SugarColumn(ColumnDataType = "bit", IsNullable = false, ColumnDescription = "是否在表单里面使用")]
        public bool InUse { get; set; } = true;

        /// <summary>
        /// 证书编号类型
        /// </summary>
        public string NumberType { get; set; }

        /// <summary>
        /// 证书模板
        /// </summary>
        public string LCCertificateTemplate { get; set; }

        [SugarColumn(ColumnDataType = "bit", IsNullable = false, ColumnDescription = "是否有资格等级")]
        public bool IsGrade { get; set; }

        /// <summary>
        /// 有效期，单位年，没有就是长期
        /// </summary>
        public decimal? Period { get; set; }

        [SugarColumn(ColumnDataType = "bit", IsNullable = false, ColumnDescription = "是否国家认证")]
        public bool IsNation { get; set; }

        /// <summary>
        /// 新增时间
        /// </summary>
        public DateTime? AddTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 证书子类型
        /// </summary>
        public string SubCertificateType { get; set; }

        /// <summary>
        /// 施工等级
        /// </summary>
        public string ConstructionLevel { get; set; }

        /// <summary>
        /// 效果是否是用户选的，而不是证书直接带出来的
        /// </summary>
        public bool? IsEffectSelect { get; set; }
    }
}
